#warehouse-list li {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: move;
    user-select: none;
    transition: all 0.3s ease;
    padding-left: 80px;
}

#warehouse-list li:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.dragging {
    opacity: 0.5;
    background-color: #f8f9fa;
}

.drop-target {
    border-top: 2px solid #007bff;
}

#warehouse-list li.drop-target::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #007bff;
}

.edit-modal {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 5px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close:hover {
    color: black;
}
